package cb.com.etcdemo.bean;

import java.util.Date;

public class DeviceState {
	
	//站址名称
	private String stationName;
	//设备编号
	private String deviceId;
	//设备IP
	private String deviceIp;
	//1001命令时间
	private Date cmd1001Time;
	//3001命令时间
	private Date cmd3001Time;
	//当前版本号
	private String currentVersion;
	//日志状态 0代表不获取日志 1获取日志
	private Integer logStatus;
	//最后回传时间
	private String actTime;
	//离线多少分钟
	private Integer offLineMinute;
	
	
	
	public DeviceState(String stationName, String deviceId, String deviceIp) {
		super();
		this.stationName = stationName;
		this.deviceId = deviceId;
		this.deviceIp = deviceIp;
	}
	public DeviceState(String stationName, String deviceId, String deviceIp, Date cmd1001Time, Date cmd3001Time,
			String currentVersion) {
		super();
		this.stationName = stationName;
		this.deviceId = deviceId;
		this.deviceIp = deviceIp;
		this.cmd1001Time = cmd1001Time;
		this.cmd3001Time = cmd3001Time;
		this.currentVersion = currentVersion;
	}
	
	
	public DeviceState() {
		super();
	}
	public String getStationName() {
		return stationName;
	}
	public void setStationName(String stationName) {
		this.stationName = stationName;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getDeviceIp() {
		return deviceIp;
	}
	public void setDeviceIp(String deviceIp) {
		this.deviceIp = deviceIp;
	}
	public Date getCmd1001Time() {
		return cmd1001Time;
	}
	public void setCmd1001Time(Date cmd1001Time) {
		this.cmd1001Time = cmd1001Time;
	}
	public Date getCmd3001Time() {
		return cmd3001Time;
	}
	public void setCmd3001Time(Date cmd3001Time) {
		this.cmd3001Time = cmd3001Time;
	}
	public String getCurrentVersion() {
		return currentVersion;
	}
	public void setCurrentVersion(String currentVersion) {
		this.currentVersion = currentVersion;
	}
	public Integer getLogStatus() {
		return logStatus;
	}
	public void setLogStatus(Integer logStatus) {
		this.logStatus = logStatus;
	}
	public String getActTime() {
		return actTime;
	}
	public void setActTime(String actTime) {
		this.actTime = actTime;
	}
	public Integer getOffLineMinute() {
		return offLineMinute;
	}
	public void setOffLineMinute(Integer offLineMinute) {
		this.offLineMinute = offLineMinute;
	}
	
	

}
